package com.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dubbo.entity.User;
import com.dubbo.service.IUserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by wangdongdong on 2018/7/30 16:37.
 */
@Service(version = "1.0.0")
public class UserService implements IUserService {
    private Logger logger = LoggerFactory.getLogger(UserService.class);
    @Override
    public void registerUser(User user) {
        logger.info(user.toString());
        System.out.println(user.toString());
    }

    @Override
    public void findAllUser() {
        System.out.println("find all user...");
    }
}
